﻿
.eight-part {
    margin: 2rem auto;
}

.cat-head {
    font-size: 33px;
    background: linear-gradient(90deg, #0C3483 0%, #A2B6DF 100%, #6B8CCE 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-family: 'Inter';
    border-right: 1px solid #ccc;
}

.travel-main-container {
    max-width: 1200px;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
}

.travel-toggle-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    justify-content: center;
    padding-bottom: 15px;
    position: relative;
    overflow-x: auto;
}

.travel-tab-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 9px;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: all 0.4s ease;
    border: 0.2px solid #f2f2f2;
    width: 94px; /* Adjust width if needed */
}

    .travel-tab-link img {
        width: 30px;
        height: 28px;
        padding: 2px;
        object-fit: cover;
    }

    .travel-tab-link span {
        display: block;
        margin-top: 8px;
        font-family: 'Inter';
        font-size: 10px;
        line-height: normal;
        color: #333;
    }

    .travel-tab-link:hover {
        background-color: #f0f0f0;
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }


    .travel-tab-link.travel-active {
        background-color: aliceblue;
        color: white;
        border: 0.3px solid royalblue;
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    }

        .travel-tab-link.travel-active span {
            color: royalblue;
        }

.travel-content-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .travel-content-section.travel-active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        flex-wrap: wrap;
        gap: 20px;
    }


.travel-img-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.8s ease-in-out;
}

    .travel-img-wrapper img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        transition: transform 0.5s ease;
    }

        .travel-img-wrapper img:hover {
            transform: scale(1.02);
        }

.travel-card-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    width: 100%;
}

.travel-package-card {
    background-color: white;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out forwards;
    animation-delay: calc(var(--card-index) * 0.1s);
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.travel-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

    .travel-package-card:hover::before {
        width: 8px;
    }

.travel-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    position: relative;
}

.travel-card-price {
    font-size: 22px;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

    .travel-card-price::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 2px;
        background-color: #3498db;
        margin-right: 8px;
    }

.travel-card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.travel-card-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

    .travel-card-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.4), rgba(255,255,255,0.1));
        transition: all 0.5s ease;
    }

    .travel-card-button:hover {
        background-color: #2980b9;
        box-shadow: 0 5px 15px rgba(41, 128, 185, 0.4);
    }

        .travel-card-button:hover::before {
            left: 100%;
        }

/* Responsive adjustments */

.unique-trip-card {
    margin: 10px;
    background: white;
    border-radius: 16px;
    background: #FFF;
    overflow: hidden;
    /* padding: 0px 3px; */
}

.unique-valid-till-badge {
    display: inline-block;
    text-align: center;
    background: #FFD128;
    margin: 0.5rem;
    color: #000;
    padding: 2px 11px;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'Inter';
    font-size: 10px;
    border-radius: 30px;
}

.unique-trip-card-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    border-radius: 10px;
    background-position: center;
}

.unique-trip-card-content {
    margin-top: 1rem;
}

.unique-trip-card-title {
    text-transform: capitalize;
    margin-bottom: 0px;
    margin-top: 0px;
    font-weight: 500;
    color: #000;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.unique-trip-card-description {
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 12px;
    font-family: 'Inter';
    color: #333;
}

.unique-trip-cost-section {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    justify-content: space-between;
}

.unique-trip-cost-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.unique-cost-label {
    font-size: 12px;
    margin: 0;
    font-family: 'Inter';
    color: #939393;
}

.all-unique-pack-card {
    padding: 5px;
    height: auto;
}

.unique-trip-cost {
    font-size: 18px;
    font-family: 'Inter';
    font-weight: bold;
}

.unique-original-cost {
    color: #000;
    font-weight: 500;
}

.unique-discounted-cost {
    font-weight: 500;
    color: #ccc;
    font-size: 12px;
}

.unique-trip-view-btn {
    background-color: #2873e1;
    color: white;
    border: none;
    padding: 1px 15px;
    font-size: 10px;
    cursor: pointer;
    border-radius: 18px;
}

    .unique-trip-view-btn:hover {
        background-color: #033b8e;
        color: white;
    }

.all-view-button btn {
    background-color: #2873e1;
    color: white;
    border: none;
    padding: 1px 15px;
    font-size: 10px;
    cursor: pointer;
    border-radius: 18px;
}

.unique-button {
    all: unset;
}

.new-view-button {
    display: flex;
    justify-content: end;
    width: 100%;
}

.unique-button {
    position: relative;
    display: inline-flex;
    height: 2.5rem;
    align-items: center;
    border-radius: 9999px;
    padding-left: 2rem;
    padding-right: 2rem;
    font-family: Segoe UI;
    font-size: 1.2rem;
    font-weight: 640;
    color: #fafaf6;
    letter-spacing: -0.06em;
}

.unique-button-item {
    background-color: transparent;
    color: #1d1d1f;
}

    .unique-button-item .unique-button-bg {
        border-color: rgba(255, 208, 116);
        background-color: rgba(255, 208, 116);
    }

.unique-button-inner,
.unique-button-inner-hover,
.unique-button-inner-static {
    pointer-events: none;
    display: block;
}

.unique-button-inner-static {
    color: black;
}

.unique-button-inner-hover {
    color: white;
}

.unique-button-inner {
    position: relative;
    font-size: 14px;
    letter-spacing: 0.8px;
}

.unique-button-inner-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(70%);
}

.unique-button-bg {
    overflow: hidden;
    border-radius: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.unique-button-bg,
.unique-button-bg-layer,
.unique-button-bg-layers {
    display: block;
}

.unique-button-bg-layers {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: -60%;
    aspect-ratio: 1 / 1;
    width: max(200%, 10rem);
}

.unique-button-bg-layer {
    border-radius: 9999px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
}

    .unique-button-bg-layer.-purple {
        background-color: rgba(163, 116, 255);
    }

    .unique-button-bg-layer.-turquoise {
        background-color: rgba(23, 241, 209);
    }

    .unique-button-bg-layer.-royalblue {
        --tw-bg-opacity: 1;
        background-color: rgba(65, 105, 225, var(--tw-bg-opacity));
    }

.unique-button:hover .unique-button-inner-static {
    opacity: 0;
    transform: translateY(-70%);
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s linear;
}

.unique-button:hover .unique-button-inner-hover {
    opacity: 1;
    transform: translateY(0);
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.unique-button:hover .unique-button-bg-layer {
    transition: transform 1.3s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s linear;
}

.unique-button:hover .unique-button-bg-layer-1 {
    transform: scale(1);
}

.unique-button:hover .unique-button-bg-layer-2 {
    transition-delay: 0.1s;
    transform: scale(1);
}

.unique-button:hover .unique-button-bg-layer-3 {
    transition-delay: 0.2s;
    transform: scale(1);
}


/*section ninth part*/

.ninth-part {
    height: 500px;
    margin: 3rem auto;
}


.phone-video {
    height: 463px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.thumbnail-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

#videoPlayer {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-frame {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 45px;
    position: relative;
    left: 8rem;
}


.thumbnail-tabs .thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

    .thumbnail-tabs .thumb.active, .thumbnail-tabs .thumb:hover {
        opacity: 1;
        border: 2px solid #0451BB;
    }

.phone {
    width: 238px;
    height: 497px;
    border-radius: 45px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}

#videoPlayer {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.all-mems-image-part {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.image-container .review-image {
    height: 252px;
    object-fit: cover;
}

.text-container .text-container-stars {
    color: gold;
    font-size: 16px;
    margin-right: 5px;
}

.text-container .text-container-review {
    margin: 0;
    color: #000;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    line-height: normal;
    font-weight: 300;
}

.review-second-part {
    line-height: 1.3;
    color: #707070;
    font-family: Inter;
    font-weight: 300;
    margin-top: 1rem;
    font-size: 12px;
    font-family: 'Inter';
}

.all-review-part {
    padding: 15px 55px;
}

.mem-part {
    font-size: clamp(24px, 4vw, 33px);
    background: linear-gradient(90deg, #0C3483 0%, #A2B6DF 100%, #6B8CCE 100%);
    background-clip: text;
    -webkit-background-clip: text;
    line-height: normal;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

.name-rev-part {
    color: #7a7a7a;
    font-size: 12px;
    margin-top: 10px;
    flex: 1;
}

.exact-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-review-btn {
    background-color: #fff;
    color: #000000;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    padding: 8px 15px;
    border-radius: 3px;
    border: 0.75px solid #000;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 8px rgb(18 18 19 / 40%);
}

    .next-review-btn:hover {
        background-color: royalblue;
        color: #fff;
        box-shadow: 0px 6px 12px rgba(65, 105, 225, 0.6);
    }

/* Updated CSS for moderately paced transitions */
.review-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px; /* Set a height to prevent collapsing */
}

.reviews-wrapper {
    position: relative;
    width: 100%;
    min-height: 300px;
}

.all-mems-image-part {
    opacity: 0;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translateX(50px);
    pointer-events: none;
}

    .all-mems-image-part.active {
        opacity: 1;
        position: relative;
        transform: translateX(0);
        pointer-events: all;
    }

    .all-mems-image-part.prev {
        transform: translateX(-50px);
        opacity: 0;
        transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }


@media only screen and (min-width: 320px) and (max-width: 650px) {
    .cat-head {
        font-size: 20px;
        font-weight: 700;
    }

    .travel-main-container {
        padding: 8px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

    .travel-tab-link img {
        width: 20px;
        height: 20px;
    }

    .travel-toggle-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        justify-content: start;
    }

    .travel-tab-link {
        width: 100%;
        margin-bottom: 0;
    }

    .eight-part {
        margin: 0rem auto;
    }

    .mobile-frame {
        flex-direction: row;
        position: static;
        gap: 10px;
        display: none;
    }

    .thumbnail-tabs {
        display: flex;
        flex-direction: row;
    }

    .ninth-part {
        height: auto;
        margin: 1rem auto;
        display:none;
    }

    .all-review-part {
        padding: 10px;
    }

    .mem-part {
        font-size: clamp(18px, 4vw, 33px);
        font-weight: 700;
        font-family: 'Inter', sans-serif;
    }

    .all-mems-image-part {
        gap: 1rem;
        flex-direction: column;
        margin-top: 1.5rem;
        align-items: start;
    }

    .text-container .text-container-review {
        font-size: 20px;
    }
    .dash-phone-part{
        height:250px !important;
    }
    .phone {
        width: 117px;
        height: 250px;
        border-radius: 19px;
    }
    .all-a{
        padding:5px;
    }
    .travel-card-wrapper {
        margin-top: 0.5rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .all-unique-pack-card {
        padding: 5px;
        height: 180px;
    }
    .unique-trip-card-title {
       
        font-size: 13px;
        font-family: 'Inter', sans-serif;
    }
    .unique-trip-card-image {
        width: 100%;
        height: 115px;
    }
    .thumbnail-tabs .thumb {
        width: 44px;
        height: 44px;
       
    }
    .unique-trip-cost-section {
        display: flex;
        /* flex-wrap: wrap; */
        flex-direction: column;
        align-items: start;
    }
    .review-container {
       
        height: auto;
    }
    .next-review-btn {
        display:none;
    }

}
@media only screen and (min-width: 651px) and (max-width: 1024px) {
    .eight-part {
        margin: 0rem auto;
    }
    .travel-main-container {
       
        padding: 8px;
        background-color: white;
        border-radius: 15px;
    }
    .travel-tab-link img {
        width: 26px;
        height: 23px;
    }
    .mobile-frame {
        flex: 1;
        display: flex;
        position:static;
        /* left: 8rem; */
    }
    .ninth-part {
        height: auto;
        margin: 1rem auto;
    }
    .mem-part {
        font-size: clamp(19px, 4vw, 18px);
       
    }
    .travel-card-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .quantum-cards-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .travel-content-section.travel-active {
        flex-direction: column;
    }

    .travel-card-wrapper, .travel-img-wrapper {
        min-width: 100%;
    }

    .travel-tab-link {
        margin-bottom: 10px;
        text-align: center;
    }

    .travel-package-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .next-review-btn {
        display: none;
    }
    .mobile-frame{
        display:none;
    }
    .all-review-part {
        padding: 0;
    }
}